<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <h3 class="box-title">分类列表</h3>
                <div class="pull-right">
                    <a href="{:url('article/classshow')}" class="btn btn-primary">新增分类</a>
                </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <tr>
                        <th>ID</th>
                        <th>分类名</th>
                        <th>上级ID</th>
                        <th>操作</th>
                    </tr>
                    {volist name="list" id="val"}
                    <tr>
                        <td>{$val.id}</td>
                        <td>{$val.name}</td>
                        <td>{$val.fid}</td>
                        <td>
                            <a href=""><span class="glyphicon glyphicon-pencil"></span></a>
                            <a href=""><span style="color:red" class="glyphicon glyphicon-remove"></span></a>
                        </td>
                    </tr>
                    {/volist}
                </table>
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
    </div>
</div>




    {$list->render()}
<script>
    $('#classList').addClass('active');
</script>